import { createWebHashHistory, createRouter } from "vue-router";

import HomeView from "../views/home/index.vue";
import judgeManagement from "../views/judgeManagement/index.vue";
import SpecialCaseView from "../views/specialCase/index.vue";
import SpecialPostureView from "../views/specialPosture/index.vue";

const routes = [
  { path: "/", component: SpecialCaseView },
  { path: "/judgeManagement", component: judgeManagement },
  { path: "/department", component: HomeView },
  { path: "/specialPosture", component: SpecialPostureView },
];

const router = createRouter({
  history: createWebHashHistory(),
  routes,
});

export default router;
